package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Procedures {
      @TableId(type = IdType.AUTO)
      private Integer id;
      private Integer userId;
      @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
      private Date procedureTime;
      private String procedureMinutes;
      private Double procedurePrice;

      @TableField(exist = false)
      private String username;
}
